import 'dart:math';

import 'package:flutter/material.dart';

class ListCell extends StatelessWidget {
  final Color color;

  const ListCell({Key? key, required this.color}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 100,
      color: color,
      child: const Text("item"),
    );
  }
}

Color randomColor() {
  return Color.fromARGB(
      255, Random().nextInt(256) + 0, Random().nextInt(256) + 0, Random().nextInt(256) + 0);
}
